package com.sk.cardeal.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sk.cardeal.R;
import com.sk.cardeal.entity.FixType;

import java.util.List;

/**
 * Created by sk on 2018/1/16.
 */

public class FixTypeAdapter extends BaseQuickAdapter<FixType,BaseViewHolder> {

    public FixTypeAdapter(int layoutResId, @Nullable List<FixType> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, FixType item) {
         helper.setText(R.id.tv_name,item.getName());
    }
}
